/**********************************************************************\

 Copyright 2012 Diggory Blake

 This file is part of klip-engine

 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation, either version 3 of the License, or
 (at your option) any later version.

 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.

 You should have received a copy of the GNU General Public License
 along with this program.  If not, see <http://www.gnu.org/licenses/>.

\**********************************************************************/
#pragma once

// Common klip includes
#include "kengine.h"
#include "kresourcesfiles.h"
#include "kview.h"
#include "kcamera.h"
#include "ksprite.h"
#include "kbasiccontroller.h"
#include "kbasicanimation.h"
#include "kbasiclog.h"
#include "kperformance.h"
#include "kimage.h"
#include "kimagefile.h"
#include "kencoding.h"
#include "kfont.h"
#include "ktext.h"
#include "kstate.h"
#include "kline.h"
#include "kinifile.h"
#include "ktextreader.h"
#include "ktextwriter.h"

#define KLIP_DEFAULT(name, impl) typedef name##impl name##Default

// Implementation specific includes
#ifdef KLIP_DIRECTX
#include "kgraphicsdx.h"
# ifndef KLIP_GRAPHICS_DEFAULT
#  define KLIP_GRAPHICS_DEFAULT
KLIP_DEFAULT(kGraphics,	DX);
KLIP_DEFAULT(kImage,	DX);
# endif
#endif

#ifdef KLIP_OPENGL
#include "kgraphicsgl.h"
# ifndef KLIP_GRAPHICS_DEFAULT
#  define KLIP_GRAPHICS_DEFAULT
KLIP_DEFAULT(kGraphics,	GL);
KLIP_DEFAULT(kImage,	GL);
# endif
#endif

#ifdef KLIP_WINDOWS
#include "ksystemwindows.h"
#endif

#ifdef KLIP_LINUX
#include "ksystemlinux.h"
#endif

#ifdef KLIP_BOX2D
#include "kbox2dcontroller.h"
#endif
